package net.lanelife.casino.common.utils;

import org.apache.commons.codec.digest.DigestUtils;


public class MD5Utils {
	
	private static final String PREFIX = "LANELIFE.CASINO";
	
	public static String encode(String str) {
		if (str == null) {
			return null;
		}
		return DigestUtils.md5Hex(PREFIX + str);
	}

}
